
{{if $reg == 1}}
 <form method="post" action="{{$action}}" name="regform" ENCTYPE="multipart/form-data" onSubmit="return chkform(this)"> 
{{/if}}

	<div id="page">
	<div id="page-bgtop">
	<div id="page-bgbtm">
		<div id="content">
			<div class="post">
			<div class="post-bgtop">
			<div class="post-bgbtm">
				<h2 class="title"><a href="#">{{$LDListaRecursos}}</a></h2>
					
				<div class="entry">
					<p>
                                        {{$Message}}
					<h2 class="title">
						<table width=100% border=0>
							<tr>
								<td width=50%>
									<a href="#">{{$LDNombre}}</a>
								</td>
								<td width=20%>
									<a href="#">{{$LDTipo}}</a>
								</td>
								<td width=20%>
									<a href="#">{{$LDEstado}}</a>
								</td>
                                                                <td width=10%>
									<a href="#">{{$LDEliminar}}</a>
								</td>
							</tr>
						</table>
					</h2>
                                            {{section name=g loop=$gui}}
  					<div class="table">
                                                <table width=100% border=0>
							<tr>
								<td width=50%>
										<a>{{$gui[g].name}}</a>
								</td>
								<td width=20%> 
										<a>{{$gui[g].type}}</a>
								</td> 
								<td width=20%>
										<a>{{if $gui[g].status == 1}} {{$LDActivo}}{{else}}{{$LDInactivo}}{{/if}}</a>				
                                                                </td>
                                                                <td width=10%>
									<a href="{{$root_path}}/modules/rbac/{{$action}}&name={{$gui[g].name}}&lang={{$lang}}" ><img src="delete.png" alt="Eliminar" align="absmiddle"></a>
								</td>
							</tr>
						</table>
					</div>
                                            {{/section}}
					</p>
				</div>
			</div>
			</div>
			</div>
			
		<div style="clear: both;">&nbsp;</div>
		</div>

		<div id="sidebar">
				<ul>
					<li>
						<h2>{{$LDCategorias}}</h2>

						{{include file="rbac/MenuRbac.tpl"}}
						<script type="text/javascript">

						cssdropdown.startchrome("chromemenu")

						</script>
				</li>
			</ul>
		</div>

		<div style="clear: both;">&nbsp;</div>
	</div>
	</div>
	</div>
</div>

<p>
{{if $reg == 1}}
	{{$pbSubmit}}
	{{$pbReset}}
{{else}}
	{{$pbResponse}}
	{{$pbEdit}}
	{{$pbAsignar}}
        {{$pbBitacora}}
{{/if}}
</p>
</form>

<script>
{{if $showSoap}}
     request_soap();
{{/if}}
show_basicdata();
showTrasladoNoAdherencia();
</script>
